package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.pojo.PrivateTimetable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.vo.AppChangeQueryVo;
import com.woniu.vo.PrivateTimetableAddVo;
import com.woniu.vo.PrivateTimetableQueryVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaohuang
 * @since 2022-10-12
 */
public interface IPrivateTimetableService extends IService<PrivateTimetable> {

    PageResult search(Integer currentPage, Integer pageSize, PrivateTimetableQueryVo timetableQueryVo);

    Integer saveTimetable(PrivateTimetableAddVo privateTimetableAddVo);

    Integer deleteById(String id);

    PageResult findByGymId(String gymId);

    AppChangeQueryVo findByTimetableId(String id);
}
